package com.gm.bean;

import java.util.Date;

public class User {
    private Integer uid;
    private Integer bid;
    private String username;
    private String password;
    private String book;
    private Date time;

    public User() {
    }

    public User(Integer uid,Integer bid, String username, String password, String book,Date time) {
        this.uid = uid;
        this.bid=bid;
        this.username = username;
        this.password = password;
        this.book = book;
        this.time = time;
    }

    @Override
    public String toString() {
        return "User{" +
                "uid=" + uid +
                "bid=" + bid +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", book='" + book + '\'' +
                ", time='" + time + '\'' +
                '}';
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getBid() {
        return uid;
    }

    public void setBid(Integer uid) {
        this.uid = uid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getBook() {
        return book;
    }

    public void setBook(String book) {
        this.book = book;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }
}
